package com.reader.cms.entity.common;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
*
* @@description 
* @author        gumenghao
* @date          2018-10-30
*/
@TableName("reader_content_txt")
public class ReaderContentTxt extends Model<ReaderContentTxt> {

private static final long serialVersionUID = 1L;



@TableId(value="id", type= IdType.AUTO)
private Integer id;

/**
* 关联内容表的ID,关联杂志表，关联访谈，专栏等内容大字段
*/

@TableField("doc_id")

private String docId;

/**
* 文稿内容单独保存
*/

@TableField("content_txt")

private String contentTxt;


public Integer getId() {
return id;
}

public void setId(Integer id) {
this.id = id;
}

public String getDocId() {
return docId;
}

public void setDocId(String docId) {
this.docId = docId;
}

public String getContentTxt() {
return contentTxt;
}

public void setContentTxt(String contentTxt) {
this.contentTxt = contentTxt;
}

@Override
protected Serializable pkVal() {
return this.id;
}

@Override
public String toString() {
return "ReaderContentTxt{" +
	", id=" + id +
	", docId=" + docId +
	", contentTxt=" + contentTxt +
"}";
}
}